package com.sophie.service;

import com.sophie.entity.Zone;
import com.sophie.util.ResultVO;

/**
 * @Author: Rowena
 * @CreateTime: 2024-09-10 16:37:08
 * @Version: 1.0
 */
public interface IZoneService {
    ResultVO addZone(Zone zone);
    ResultVO getZonesByUserId(Integer id);
    ResultVO countZone(Integer id);
    ResultVO getAllZones();
    ResultVO countTransmit(Integer id);
    ResultVO checkCollected(Integer zoneid,Integer userid);
    ResultVO collectZone(Integer zoneid,Integer userid);
    ResultVO cancelZone(Integer zoneid,Integer userid);
}
